package DesignPrinciple.InterSegre;

import Utils.Util;

public class MySafeDoor implements SafeDoor {
    @Override
    public void antiTheft() {
        Util.inner(System.out::println, "防盗作用");
    }

    @Override
    public void fireproof() {
        Util.inner(System.out::println, "防火作用");
    }

    @Override
    public void waterproof() {
        Util.inner(System.out::println, "防洪作用");
    }
}
